package unit4.Class.chouxiang_final;

public final class Horse extends Animal {
    public Horse(String name) {
        super(name);
    }

    @Override
    void eat() {
        System.out.println(this.name+"吃草");
    }
//    @Override
//    void rest() {
//        System.out.println(this.name+"吃草");
//    }
}
